[WIP] [DRAFT] Implement New Architecture C# template cs-app
          #15013
        
          
      
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Description
This PR adds a new New Architecture C# app template, named
cs-app, which attempts to parallel the functionality with thecpp-apptemplate.This PR is currently a proof-of-concept and should not be checked in yet. It's just a starting point and comes with many caveats:
Steps for making and testing a new app:
yarn buildto build JS changescreaternwapp.cmd /linkrnw /t cs-app NewApp)Working
yarn startto start metroDebug x64(should default to the*.Packageproject)Not Working
Releasein VS 2022 gives build errors, as it suddenly can't find theMicrosoft.ReactNativetypesrun-windows) does not work, giving an error about a missing RuntimeIdentifier (the CLI calls regularmsbuild.exeon the solution, notdotnetnordotnet msbuild)autolink-windows) does not work[ReactModule]attributes, etc.)Type of Change
Why
Some developers want to build native code in C# rather than C++.
Resolves #14349
What
Created a new
cs-apptemplate using the New Arch.Screenshots
Testing
Verified a new app made with the template builds and launches.
Changelog
Should this change be included in the release notes: yes
Created a New Architecture C# template
cs-app